package com.hlf.modules.wechat.mapper;

import com.hlf.modules.wechat.model.ConfigWechat;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ConfigWechatMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ConfigWechat record);

    int insertSelective(ConfigWechat record);

    ConfigWechat selectByPrimaryKey(Long id);

    ConfigWechat selectByAppId(String appId);

    int updateByPrimaryKeySelective(ConfigWechat record);

    int updateByPrimaryKey(ConfigWechat record);

    List<ConfigWechat> select();

    List<ConfigWechat> selectByAgentId(Long topAgentId);

    ConfigWechat selectByAgentIdAndBizType(ConfigWechat config);
}